package com.example.demo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class CommentWithUserDTO {
    @JsonProperty("cId")
    private Integer cId;

    @JsonProperty("cUserId")
    private Integer cUserId;

    @JsonProperty("cGoodsId")
    private Integer cGoodsId;

    @JsonProperty("cBio") // 确保序列化字段名正确
    private String cBio;

    @JsonProperty("userName")
    private String userName;
}